package com.wish.g01.base.mapper;

import com.wish.g01.base.dto.BusinessDto;
import com.wish.g01.base.entity.TbBusiness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 商户表 Mapper 接口
 * </p>
 *
 * @author hao
 * @since 2022-05-24
 */
public interface TbBusinessMapper extends BaseMapper<TbBusiness> {

    // 获取所有商户
    List<BusinessDto> getAllBussiness();

    String getBusinessNameById(Long businessId);
}
